<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>【演示站点】迅搜(xunsearch) - 开源免费中文全文搜索引擎|PHP全文检索|mysql全文检索|站内搜索</title>
    <meta name="keywords" content="xunsearch,全文搜索,php全文检索,全文索引,mysql全文检索,中文全文检索,站内搜索,中文分词,搜索引擎,开源搜索,Xapian中文,论坛搜索"/>
    <meta name="description"
          content="迅搜(xunsearch)是采用 C/C++ 基于 xapian 和 scws 开发的全文搜索引擎解决方案，适用于php全文检索、mysql全文检索和各种站内搜索。支持海量数据高速检索，功能强大、简单易用、开源免费！"/>
    <!-- Custom Theme files -->
    <link href="/static/css/style.css" rel="stylesheet" type="text/css" media="all"/>
    <!-- Custom Theme files -->
</head>
<body>
<!--search start here-->
<div class="search">
    <i></i>
    <div class="s-bar">
        <form class="layui-form">
            <input type="text" value="" name="word" placeholder="请输入搜索词" required="required">
            <input type="submit" value="搜索一下" id="search"/>
        </form>
    </div>
    <p>热门搜索词: <a href="#" title="" target="_blank">Modern PSD template</a> <a href="#" title="" target="_blank">
        Portfolio design </a></p>
</div>
<!--search end here-->
<div class="copyright">
    <p>
        <span>Copyright © 2020 search.shenlin.ink All rights reserved. | Template by </span>
        <a href="http://www.xunsearch.com/" rel="nofollow" target="_blank">讯搜（xunsearch）</a>
    </p>
</div>
<script src="/static/layui.js"></script>
<script>
    layui.use(['layer', 'jquery'], function () {
        var layer = layui.layer, $ = layui.jquery;
        $("#search").click(function () {
            var word = $("input[name='word']").val();
            if (!word || word.length < 1) {
                layer.msg('请输入搜索词');
                return false;
            } else {
                open('/search-' + word + '.html');
            }
        })
    });
</script>
</body>
</html>